package com.kma.summer2012.shared.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Naskrina
 * Date: 02.02.13
 * Time: 17:51
 * To change this template use File | Settings | File Templates.
 */
public class UICrumbsWorkItem implements Serializable {

    private int id;
    private String workName;
    private String workDescription;
    private Integer runtime;
    private List<String> toolList;
    private int parentId;
    private boolean isParent;
    private boolean isDelete;

    public boolean isDelete() {
        return isDelete;
    }

    public void setDelete(boolean delete) {
        isDelete = delete;
    }

    // private Integer amount;


   /* public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }     */


   /* private List<UICrumbsWorkItem> children;

    public List<UICrumbsWorkItem> getChildren() {
        return children;
    }

    public void setChildren(List<UICrumbsWorkItem> children) {
        this.children = children;
    }  */

    public boolean isParent() {
        return isParent;
    }

    public void setParent(boolean parent) {
        isParent = parent;
    }


    /*
   public UICrumbsWorkItem(){
       UICrumbsWorkItem item = new UICrumbsWorkItem();
       item.setId(-1);
   }
   */
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getWorkDescription() {
        return workDescription;
    }

    public void setWorkDescription(String workDescription) {
        this.workDescription = workDescription;
    }

    public Integer getRuntime() {
        return runtime;
    }

    public void setRuntime(Integer runtime) {
        this.runtime = runtime;
    }


    public List<String> getToolList() {
        return toolList;
    }

    public void setToolList(List<String> toolList) {
        this.toolList = toolList;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }
}
